package cn.basic.exception;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/2/25 10:11
 */
public class SystemException extends RuntimeException{
    private String code;
    private String msg;

    public SystemException(String code,String msg) {
        super(msg);
        this.code=code;
        this.msg=msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}